package com.apexedu.eas.entity;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * 周次
 * Created with IntelliJ IDEA.
 * User: ly
 * Date: 13-11-10
 * Time: 下午1:35
 * To change this template use File | Settings | File Templates.
 */
@javax.persistence.Table(name = "T_ZC")
@Entity
public class TZc {
	private int id;
	private Integer zbh; //周编号
    private String mc; //名称
	private Integer ksrq; //开始日期
	private Integer jsrq; //结束日期
    private Integer xq; //学期id
	private Integer sfqy; //是否启用
	private Integer sfjxz; //是否教学周

    private String xqmc;//学期名称
    private String xq1;//星期一
    private String xq2;//星期二
    private String xq3;//星期三
    private String xq4;//星期四
    private String xq5;//星期五
    private String xq6;//星期六
    private String xq7;//星期日

	@javax.persistence.Column(name = "ID")
	@Id
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	@javax.persistence.Column(name = "ZBH")
	@Basic
	public Integer getZbh() {
		return zbh;
	}

	public void setZbh(Integer zbh) {
		this.zbh = zbh;
	}

	@javax.persistence.Column(name = "XQ")
	@Basic
	public Integer getXq() {
		return xq;
	}

	public void setXq(Integer xq) {
		this.xq = xq;
	}

	@javax.persistence.Column(name = "KSRQ")
	@Basic
	public Integer getKsrq() {
		return ksrq;
	}

	public void setKsrq(Integer ksrq) {
		this.ksrq = ksrq;
	}

	@javax.persistence.Column(name = "JSRQ")
	@Basic
	public Integer getJsrq() {
		return jsrq;
	}

	public void setJsrq(Integer jsrq) {
		this.jsrq = jsrq;
	}

	@javax.persistence.Column(name = "SFQY")
	@Basic
	public Integer getSfqy() {
		return sfqy;
	}

	public void setSfqy(Integer sfqy) {
		this.sfqy = sfqy;
	}

	@javax.persistence.Column(name = "MC")
	@Basic
	public String getMc() {
		return mc;
	}

	public void setMc(String mc) {
		this.mc = mc;
	}

	@javax.persistence.Column(name = "SFJXZ")
	@Basic
	public Integer getSfjxz() {
		return sfjxz;
	}

	public void setSfjxz(Integer sfjxz) {
		this.sfjxz = sfjxz;
	}

    @Transient
    public String getXqmc() {
        return xqmc;
    }

    public void setXqmc(String xqmc) {
        this.xqmc = xqmc;
    }

    @Transient
    public String getXq1() {
        return xq1;
    }

    public void setXq1(String xq1) {
        this.xq1 = xq1;
    }

    @Transient
    public String getXq2() {
        return xq2;
    }

    public void setXq2(String xq2) {
        this.xq2 = xq2;
    }

    @Transient
    public String getXq3() {
        return xq3;
    }

    public void setXq3(String xq3) {
        this.xq3 = xq3;
    }

    @Transient
    public String getXq4() {
        return xq4;
    }

    public void setXq4(String xq4) {
        this.xq4 = xq4;
    }

    @Transient
    public String getXq5() {
        return xq5;
    }

    public void setXq5(String xq5) {
        this.xq5 = xq5;
    }

    @Transient
    public String getXq6() {
        return xq6;
    }

    public void setXq6(String xq6) {
        this.xq6 = xq6;
    }

    @Transient
    public String getXq7() {
        return xq7;
    }

    public void setXq7(String xq7) {
        this.xq7 = xq7;
    }
}
